package com.zhengsr.latte.ui.recycler;

import java.util.LinkedHashMap;

/**
 * Created by zhengshaorui on 2018/5/27.
 */

public class MultipleBuilder {


    public static class  Builder{
        LinkedHashMap<Object,Object> linkedHashMap = new LinkedHashMap<>();
        public Builder setField(Object key,Object value){
            linkedHashMap.put(key,value);
            return this;
        }
        public Builder setFields(LinkedHashMap<?,?> field){
            linkedHashMap.putAll(field);
            return this;
        }

        public MultipleBean builder(){
            return new MultipleBean(this);
        }

    }


}
